Listing 1. Configuration settings of
web.config The <authentication> element specifies
ASP.NET forms-based authentication as the default authentication
mode.
The <forms> element specifies the name of the HTTP
authentication cookie (the default is .ASPXAUTH) and URL of the
login page.
The <location> element specifies the path to the folder
whose files are denied to anonymous users (users ="?").
Authenticated users are allowed access to the pages.
|